home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.1 KB | 31 lines | [TEXT/MPS ] |
- // USubstitution.h
- // Copyright © 1988-96 by Apple Computer, Inc. All rights reserved.
-
- #ifndef __USUBSTITUTION__
- #define __USUBSTITUTION__
-
- // MacApp
-
- #ifndef __PASCALSTRING__
- #include "PascalString.h"
- #endif
-
- //----------------------------------------------------------------------------------------
- // Externally available function declaration.
- //----------------------------------------------------------------------------------------
-
- extern void InitUSubstitution();
- // This routine must be called if USubstitution is used so that all the necessary
- // initialization can be performed.
-
- extern void MAParamText(const CStr255& keyStr, const CStr255& valueStr);
- // Used to create paramTxt items for a dialog. Builds an association with keyStr and
- // valueStr. All instances of keyStr in the dialog will be replaced with valueStr when
- // the dialog is displayed.
-
- extern void MAReplaceText(CStr255& theText);
- // If there are any param text items in the theText passed to this method then they
- // are replaced with the appropriate values.
-
- #endif // __USUBSTITUTION__
-